package com.bobi.result;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 响应码的配置 / 状态码
 */
@Schema(name = "ResponseState", description = "响应状态码")
public interface ResponseState {
    @Schema(name = "4000", description = "登录超时")
    public static final Integer LOGIN_TIMOUT = 4000;
    @Schema(name = "5000", description = "服务器异常")
    public static final Integer SERVER_ERROR = 5000;
    @Schema(name = "4003", description = "没有访问权限")
    public static final Integer NO_PERMISSION = 4003;
    @Schema(name = "8888", description = "账户已经冻结")
    public static final Integer ACCOUNT_EXIT = 8888;
    @Schema(name = "5500", description = "账户或者密码错误")
    public static final Integer ACCOUNT_ERROR = 5500;
}
